pinctrl-bcm2835: Only request the interrupts listed in the DTB
authorPhil Elwell <phil@raspberrypi.org>
Thu, 26 Feb 2015 09:58:22 +0000 (09:58 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 9 Mar 2017 17:50:44 +0000 (17:50 +0000)
commit3b18e342423104d324e9480a612fb537aecb189c
tree17b565b6770d1106c35e0bb624af1328d72fe5a6
parent3c73a0ceea4444fac6975fc23197ea5ee95de644
pinctrl-bcm2835: Only request the interrupts listed in the DTB

Although the GPIO controller can generate three interrupts (four counting
the common one), the device tree files currently only specify two. In the
absence of the third, simply don't register that interrupt (as opposed to
registering 0), which has the effect of making it impossible to generate
interrupts for GPIOs 46-53 which, since they share pins with the SD card
interface, is unlikely to be a problem.
drivers/pinctrl/bcm/pinctrl-bcm2835.c